const { addDictArray, getDictionaries, setLanguage } = require('../dist');

const KEYS = addDictArray(['en-us,en', 'zh-cn,zh'], {
	ok: ['Ok', '确定'],
	cancel: ['Cancel', '取消'],
});

console.log(getDictionaries());

setLanguage('zh-cn');

console.log(KEYS.cancel);
